package com.soujiayi.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Products implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<Product> productlist;
	private int total;
	private int total_found;
	private float minprice;
	private float maxprice;
	private ArrayList<ProductSelectItem> catlist;
	private ArrayList<ProductSelectItem> subcatlist;
	private ArrayList<ProductSelectItem> malllist;
	private ArrayList<ProductSelectItem> brandlist;
	private ArrayList<ProductSelectItem> attrlist;

	public List<Product> getProductlist() {
		return productlist;
	}

	public void setProductlist(List<Product> productlist) {
		this.productlist = productlist;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getTotal_found() {
		return total_found;
	}

	public void setTotal_found(int total_found) {
		this.total_found = total_found;
	}

	public float getMinprice() {
		return minprice;
	}

	public void setMinprice(float minprice) {
		this.minprice = minprice;
	}

	public float getMaxprice() {
		return maxprice;
	}

	public void setMaxprice(float maxprice) {
		this.maxprice = maxprice;
	}

	public ArrayList<ProductSelectItem> getCatlist() {
		return catlist;
	}

	public void setCatlist(ArrayList<ProductSelectItem> catlist) {
		this.catlist = catlist;
	}

	public ArrayList<ProductSelectItem> getSubcatlist() {
		return subcatlist;
	}

	public void setSubcatlist(ArrayList<ProductSelectItem> subcatlist) {
		this.subcatlist = subcatlist;
	}

	public ArrayList<ProductSelectItem> getMalllist() {
		return malllist;
	}

	public void setMalllist(ArrayList<ProductSelectItem> malllist) {
		this.malllist = malllist;
	}

	public ArrayList<ProductSelectItem> getBrandlist() {
		return brandlist;
	}

	public void setBrandlist(ArrayList<ProductSelectItem> brandlist) {
		this.brandlist = brandlist;
	}

	public ArrayList<ProductSelectItem> getAttrlist() {
		return attrlist;
	}

	public void setAttrlist(ArrayList<ProductSelectItem> attrlist) {
		this.attrlist = attrlist;
	}

	@Override
	public String toString() {
		return "Products [productlist=" + productlist + ", total=" + total
				+ ", total_found=" + total_found + ", minprice=" + minprice
				+ ", maxprice=" + maxprice + ", catlist=" + catlist
				+ ", subcatlist=" + subcatlist + ", malllist=" + malllist
				+ ", brandlist=" + brandlist + ", attrlist=" + attrlist + "]";
	}

}
